Get premium membership and access questions with answers, video lessons as well as revision papers.

Explain the main reason for overloading the [] operator

      

Explain the main reason for overloading the [] operator

  

Answers


Davis
The [] is usually overloaded to allow an array encapsulated with a class to be indexed with the normal array indexing syntax
Githiari answered the question on November 17, 2017 at 05:50


Next: Can operator = () be a friend function?
Previous: Discuss five properties of relational tables in a computer database

View More Computer Studies Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions